package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "user1")
@Data
public class User {

    @TableId(value = "uid",type = IdType.AUTO)
    private Integer uid;

    @TableField(value = "uname")
    private String uname;

    @TableField(value = "pwd")
    private String pwd;

    @TableField(value = "rid")
    private Integer rid;

}
